package com.stnet.dao.enterprice.chinamobile;

import java.util.List;

import com.modules.commons.Pager;
import com.stnet.entity.OnlineRecharge;

/**
 * @author Messcat
 * @version 1.1
 *
 */
public interface OnlineRechargeDao
{

    public  OnlineRecharge get(Long id);

    public  OnlineRecharge getByOuttradeid(String outtradeid);
    
    public  void save(OnlineRecharge onlineRecharge);

    public  void update(OnlineRecharge onlineRecharge);

    public  void delete(OnlineRecharge onlineRecharge);

    public  void delete(Long id);

    public  List findAll();

    public  Pager getObjectListByClass(int i, int j, Class class1, String s);
    
    public abstract List findOnlineRechargeByAgent(Long agent);
    
    public Pager getListByAgent(int pageSize, int pageNo, Long agent);
}